package lotto;

import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Main lotto = new Main();
		lotto.begin();
	}
	
	/* input:
	 * 7 1 2 3 4 5 6 7
		8 1 2 3 5 8 13 21 34
		0
	 */
	
	public void begin(){
		Scanner entrada = new Scanner(System.in);	    
		PrintStream saida = new PrintStream(System.out);
		int first; //first e um get Int
		
		first = entrada.nextInt();
		if (first == 0) System.exit(0);//inicia com 0;
		
		while(first != 0){
			int[] intArray = new int[first];
			for(int i = 0; i < first; i++) {
				System.out.println("element: " + entrada.nextInt());
				//intArray[i] = entrada.nextInt();
			}
			System.out.println("first: " + first);
			intArray.toString();
			
			first = entrada.nextInt();
		}	
	       						
	}
	

}
